package com.evil.application.pojo.dto.mq;

import com.evil.application.pojo.dto.order.exp.OrderExportReqDTO;
import com.evil.common.application.dto.mq.MQReqDTO;
import com.evil.common.core.entity.PageModel;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 导入订单 队列 请求实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@NoArgsConstructor
public class ExcelExportMQReqDTO implements MQReqDTO {

    @NotNull(message = "enterpriseId not null")
    private Long enterpriseId;

    /**
     * 导出参数
     */
    @NotNull(message = "pageModel not null")
    private PageModel<OrderExportReqDTO> pageModel;

    /**
     * 应用key
     */
    @NotBlank(message = "applicationKey not null")
    private String applicationKey;

    /**
     * 应用队列id
     */
    private Long queueId;
}
